//
//  CZQTabBar.h
//  weibo
//
//  Created by Apple on 15-1-30.
//  Copyright (c) 2015年 itcast. All rights reserved.
//

#import <UIKit/UIKit.h>
@class CZQTabBar;
@protocol TabBarDelegate <NSObject>


//设置代理
- (void)tabBar:(CZQTabBar *)tabBar from:(NSInteger)form to:(NSInteger)to;

@end
@interface CZQTabBar : UIView
/**
 *  添加一个按钮
 *
 *  @param item 按钮需要显示的数据
 */
- (void)addItem:(UITabBarItem *)item;

@property(nonatomic,weak)id<TabBarDelegate>delegate;
@end
